add_definitions(-DKLEIN_BUILDING)

add_library(Shader SHARED
API.h API.cpp
Fragment.h Fragment.cpp
FragmentDatabase.h FragmentDatabase.cpp
FragmentIdentifier.h FragmentIdentifier.cpp
Graph.h Graph.cpp
GraphDatabase.h GraphDatabase.cpp
GraphIdentifier.h GraphIdentifier.cpp
Node.h Node.cpp
Parameter.h Parameter.cpp
ParameterGroup.h ParameterGroup.cpp
Singleton.h Singleton.cpp
String.h String.cpp
)

target_link_libraries(Shader ${wxWidgets_LIBRARIES})

if(MSVC)
	set_target_properties(Shader PROPERTIES IMPORT_PREFIX "lib" PREFIX "lib")
endif()
